const HtmlWebpackPlugin = require('html-webpack-plugin');
const path = require('path');

module.exports = {
 entry:{
    path:'./src/index.ts'
 },
  output: {
    path: path.resolve(__dirname, './dist'),
    filename: 'index_bundle.js',
  },
  plugins: [new HtmlWebpackPlugin({template:'./src/tpl/index.html'})],
};